
class Panel extends egret.Sprite {
    public constructor() {
        super()
        this.init()
    }

    private stage_height: number = 800
    private stage_width: number = 800
    private panel: egret.Bitmap
    private init() {
        this.panel = new egret.Bitmap()
        this.panel.texture = RES.getRes('plane_1_png')
        this.panel.width = 47
        this.panel.height = 126
        // this.panel.x = 0
        // this.panel.y = 0
        this.panel.y = this.stage_height - this.panel.height
        this.panel.x = (this.stage_width - 47) / 2
        this.addChild(this.panel)        
    }
}